package cn.com.dycc.party_org.member.entity;

import java.io.Serializable;

import cn.com.dycc.common.page.TablePublicAttri;

/**
 * 
 * Description: 用户党员信息表实体类
 * Author: Liket
 * Version: 1.0
 * Create String Time: 2018年6月20日 上午9:30:24.
 * Update String Time: 
 * @see
 */
public class UserChildAndMember extends TablePublicAttri implements Serializable{

	
	private static final long serialVersionUID = -1188329247224120701L;
	
	private String user_id;
	private String dept_id;	//归属党组织ID
	private String certificate;
	private String sex;
	private String native_place; //籍贯
	private String education;	//学历
	private String party_flag;	//申请标识
	private String party_type;	//党籍类别
	private String dj_flag;	//党籍标识
	private String apply_date; 
	private String join_date; //加入党组织日期
	private String party_date;	//正式入党日期
	private String sponsor;	//介绍人
	private String propose;	//介绍人意见
	private String address;
	private String birthday;
	private String class_id;	//职务
	private String post_id;	//岗位
	private String tel_m;	//移动电话
	private String tel;	//固定电话
	private String remark;
	
	private String user_pic;	//用户头像
	private String nation;	//民族信息
	private String health;	//健康状态
	
	private String account;			//用户账户
	private String username;		//用户姓名
	private String post_name;		//用户职务
	private String class_name;		//用户岗位
	private String dept_name;		//党组织名称
	private String opt_username;
	private String top_dept_name;	//单位名称
	
	private String party_flag_desc;
	private String party_type_desc;
	private String dj_flag_desc;
	private String sex_desc;
	private String education_desc;
	
	private String dept_no;//部门ID
	
	public UserChildAndMember(){
		
	}
	
	public UserChildAndMember(String user_id, String dept_id, String certificate, String sex, String native_place,
			String education, String party_flag, String party_type, String dj_flag, String apply_date, String join_date,
			String party_date, String sponsor, String propose, String address, String birthday, String class_id,
			String post_id, String tel_m, String tel, String remark, String user_pic, String nation, String health,
			String account, String username, String post_name, String class_name, String dept_name, String opt_username,
			String top_dept_name, String party_flag_desc, String party_type_desc, String dj_flag_desc, String sex_desc,
			String education_desc, String dept_no) {
		super();
		this.user_id = user_id;
		this.dept_id = dept_id;
		this.certificate = certificate;
		this.sex = sex;
		this.native_place = native_place;
		this.education = education;
		this.party_flag = party_flag;
		this.party_type = party_type;
		this.dj_flag = dj_flag;
		this.apply_date = apply_date;
		this.join_date = join_date;
		this.party_date = party_date;
		this.sponsor = sponsor;
		this.propose = propose;
		this.address = address;
		this.birthday = birthday;
		this.class_id = class_id;
		this.post_id = post_id;
		this.tel_m = tel_m;
		this.tel = tel;
		this.remark = remark;
		this.user_pic = user_pic;
		this.nation = nation;
		this.health = health;
		this.account = account;
		this.username = username;
		this.post_name = post_name;
		this.class_name = class_name;
		this.dept_name = dept_name;
		this.opt_username = opt_username;
		this.top_dept_name = top_dept_name;
		this.party_flag_desc = party_flag_desc;
		this.party_type_desc = party_type_desc;
		this.dj_flag_desc = dj_flag_desc;
		this.sex_desc = sex_desc;
		this.education_desc = education_desc;
		this.dept_no = dept_no;
	}
	
	@Override
	public String toString() {
		return "UserChildAndMember [user_id=" + user_id + ", dept_id=" + dept_id + ", certificate=" + certificate
				+ ", sex=" + sex + ", native_place=" + native_place + ", education=" + education + ", party_flag="
				+ party_flag + ", party_type=" + party_type + ", dj_flag=" + dj_flag + ", apply_date=" + apply_date
				+ ", join_date=" + join_date + ", party_date=" + party_date + ", sponsor=" + sponsor + ", propose="
				+ propose + ", address=" + address + ", birthday=" + birthday + ", class_id=" + class_id + ", post_id="
				+ post_id + ", tel_m=" + tel_m + ", tel=" + tel + ", remark=" + remark + ", user_pic=" + user_pic
				+ ", nation=" + nation + ", health=" + health + ", account=" + account + ", username=" + username
				+ ", post_name=" + post_name + ", class_name=" + class_name + ", dept_name=" + dept_name
				+ ", opt_username=" + opt_username + ", top_dept_name=" + top_dept_name + ", party_flag_desc="
				+ party_flag_desc + ", party_type_desc=" + party_type_desc + ", dj_flag_desc=" + dj_flag_desc
				+ ", sex_desc=" + sex_desc + ", education_desc=" + education_desc + ", dept_no=" + dept_no + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((user_id == null) ? 0 : user_id.hashCode());
		return result;
	}



	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		UserChildAndMember other = (UserChildAndMember) obj;
		if (user_id == null) {
			if (other.user_id != null)
				return false;
		} else if (!user_id.equals(other.user_id))
			return false;
		return true;
	}

	public String getUser_id() {
		return user_id;
	}



	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}



	public String getDept_id() {
		return dept_id;
	}



	public void setDept_id(String dept_id) {
		this.dept_id = dept_id;
	}



	public String getCertificate() {
		return certificate;
	}



	public void setCertificate(String certificate) {
		this.certificate = certificate;
	}



	public String getSex() {
		return sex;
	}



	public void setSex(String sex) {
		this.sex = sex;
	}



	public String getNative_place() {
		return native_place;
	}



	public void setNative_place(String native_place) {
		this.native_place = native_place;
	}



	public String getEducation() {
		return education;
	}



	public void setEducation(String education) {
		this.education = education;
	}



	public String getParty_flag() {
		return party_flag;
	}



	public void setParty_flag(String party_flag) {
		this.party_flag = party_flag;
	}



	public String getParty_type() {
		return party_type;
	}



	public void setParty_type(String party_type) {
		this.party_type = party_type;
	}



	public String getDj_flag() {
		return dj_flag;
	}



	public void setDj_flag(String dj_flag) {
		this.dj_flag = dj_flag;
	}



	public String getApply_date() {
		return apply_date;
	}



	public void setApply_date(String apply_date) {
		this.apply_date = apply_date;
	}



	public String getJoin_date() {
		return join_date;
	}



	public void setJoin_date(String join_date) {
		this.join_date = join_date;
	}



	public String getParty_date() {
		return party_date;
	}



	public void setParty_date(String party_date) {
		this.party_date = party_date;
	}



	public String getSponsor() {
		return sponsor;
	}



	public void setSponsor(String sponsor) {
		this.sponsor = sponsor;
	}



	public String getPropose() {
		return propose;
	}



	public void setPropose(String propose) {
		this.propose = propose;
	}



	public String getAddress() {
		return address;
	}



	public void setAddress(String address) {
		this.address = address;
	}



	public String getBirthday() {
		return birthday;
	}



	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}



	public String getClass_id() {
		return class_id;
	}



	public void setClass_id(String class_id) {
		this.class_id = class_id;
	}



	public String getPost_id() {
		return post_id;
	}



	public void setPost_id(String post_id) {
		this.post_id = post_id;
	}



	public String getTel_m() {
		return tel_m;
	}



	public void setTel_m(String tel_m) {
		this.tel_m = tel_m;
	}



	public String getTel() {
		return tel;
	}



	public void setTel(String tel) {
		this.tel = tel;
	}



	public String getRemark() {
		return remark;
	}



	public void setRemark(String remark) {
		this.remark = remark;
	}



	public String getUser_pic() {
		return user_pic;
	}



	public void setUser_pic(String user_pic) {
		this.user_pic = user_pic;
	}



	public String getNation() {
		return nation;
	}



	public void setNation(String nation) {
		this.nation = nation;
	}



	public String getHealth() {
		return health;
	}



	public void setHealth(String health) {
		this.health = health;
	}



	public String getAccount() {
		return account;
	}



	public void setAccount(String account) {
		this.account = account;
	}



	public String getUsername() {
		return username;
	}



	public void setUsername(String username) {
		this.username = username;
	}



	public String getPost_name() {
		return post_name;
	}



	public void setPost_name(String post_name) {
		this.post_name = post_name;
	}



	public String getClass_name() {
		return class_name;
	}



	public void setClass_name(String class_name) {
		this.class_name = class_name;
	}



	public String getDept_name() {
		return dept_name;
	}



	public void setDept_name(String dept_name) {
		this.dept_name = dept_name;
	}



	public String getOpt_username() {
		return opt_username;
	}



	public void setOpt_username(String opt_username) {
		this.opt_username = opt_username;
	}



	public String getTop_dept_name() {
		return top_dept_name;
	}



	public void setTop_dept_name(String top_dept_name) {
		this.top_dept_name = top_dept_name;
	}



	public String getParty_flag_desc() {
		return party_flag_desc;
	}



	public void setParty_flag_desc(String party_flag_desc) {
		this.party_flag_desc = party_flag_desc;
	}



	public String getParty_type_desc() {
		return party_type_desc;
	}



	public void setParty_type_desc(String party_type_desc) {
		this.party_type_desc = party_type_desc;
	}



	public String getDj_flag_desc() {
		return dj_flag_desc;
	}



	public void setDj_flag_desc(String dj_flag_desc) {
		this.dj_flag_desc = dj_flag_desc;
	}



	public String getSex_desc() {
		return sex_desc;
	}



	public void setSex_desc(String sex_desc) {
		this.sex_desc = sex_desc;
	}



	public String getEducation_desc() {
		return education_desc;
	}



	public void setEducation_desc(String education_desc) {
		this.education_desc = education_desc;
	}


	public String getDept_no() {
		return dept_no;
	}




	public void setDept_no(String dept_no) {
		this.dept_no = dept_no;
	}

	
	
}
